<?php

use backend\models\User;
use backend\components\helper\EasyHtml;
use backend\components\widget\adminLTE\ActiveForm;;


/* @var $this yii\web\View */
/* @var $model User */


$this->title = '个人信息';

$this->params['breadcrumbs'] = [$this->title];

?>
<div class="row">
    <div class="col-md-12">
        <div class="box">
            <div class="box-header with-border">
                <h3 class="box-title"><?= EasyHtml::encode($this->title) ?></h3>
            </div>
            <?php $form = ActiveForm::begin(); ?>
            <div class="box-body">

                <?= $form->field($model, 'admin_avatar')->widget(\backend\components\widget\file\UploadWidget::class) ?>

                <?= $form->field($model, 'nickname')->textInput(['maxlength' => true]) ?>

                <?= $form->field($model, 'email')->textInput(['maxlength' => true]) ?>

                <?//= $form->field($model, 'updated_at')->textInput() ?>

                <?//= $form->field($model, 'created_at')->textInput() ?>
            </div>
            <div class="box-footer">
                <div class="pull-right">
                    <?= EasyHtml::submitButton('<i class="fa fa-save"></i> 保存', ['class' => 'btn btn-success']) ?>
                </div>
            </div>
            <?php ActiveForm::end(); ?>
        </div>
    </div>
</div>
